/**
 * FileName: Department
 * Author:   P
 * Date:     2021/3/16 19:54
 * Description:
 */
package com.hospital.nurse.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

//科室
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Department {
    @TableId
   private int dId;
   private String dName;

    @TableField(exist = false)
    private List<Patient> patients;

}
